package com.paw.portal.service;

import java.util.List;

import com.paw.common.domain.Result;
import com.paw.portal.request.dto.SysMenuRequestDto;
import com.paw.portal.response.dto.SysMenuResponseDto;

/**
 * @author Rubble
 * @date 2021/8/24
 **/
public interface IAntdMenuService {


  /**
   * 获取菜单树
   * @param requestDto
   * @return
   */
  Result<List<SysMenuResponseDto>> getMenuTreeList (SysMenuRequestDto requestDto);

  /**
   * 获取菜单分页列表
   * @param requestDto
   * @return
   */
  Result<List<SysMenuResponseDto>> getMenuPageList (SysMenuRequestDto requestDto);

  /**
   * 删除菜单及子菜单
   * @param id
   * @return
   */
  Result<Boolean> delMenuWithChildren (Long id);
}
